package com.chen.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("hotel_bookings")
public class HotelBooking implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private int id;
    private String userId;
    private String roomType;
    private String status;
    private String name;
    private String phone;
    private Date checkinDate;
    private Date orderTime;
    private String remarks;
}
